package com.j180.controller;

import jdk.swing.interop.SwingInterOpUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/inter")
public class IntercepterController {

    @RequestMapping("/one")
    public String one(){

        System.out.println("目标对象one方法执行====>>>");
        return "one";
    }

    @RequestMapping("/two")
    public String two(){

        System.out.println("目标对象two方法执行====>>>");
        return "two";
    }

    @RequestMapping("/three")
    public String three(){

        System.out.println("目标对象three方法执行====>>>");
        return "three";
    }
}
